package cn.sciento.boot.tenant.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import cn.sciento.boot.tenant.constant.TenantInitProcessorType;
import cn.sciento.boot.tenant.constant.TenantInitType;

/**
 * 租客初始化注解

 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TenantInit {
  String processorName();
  
  TenantInitProcessorType processorType() default TenantInitProcessorType.POST_PROCESSOR;
  
  TenantInitType initType() default TenantInitType.CREATE;
  
  int orderSeq() default 10;
}
